/*
 * Main.cpp
 *
 *  Created on: Jun 28, 2012
 *      Author: kgills
 */

#include "GraphicGraph.h"

int main()
{
	//MyApp app;
	Fl_Window* win = new Fl_Double_Window(900, 650);
	MyApp* tim = new MyApp(0, 26, win->w(), win->h()-26);

	tim->menubar = new Fl_Menu_Bar(0, 0, win->w(), 25);
	tim->menubar->add("File/Open", 0, tim->Menu_CB, tim);    // userdata is always 'this'
	tim->menubar->add("File/Print", 0, tim->Menu_CB, tim);
	tim->menubar->add("File/Quit", 0, tim->Menu_CB, tim);
	tim->menubar->add("DFS/Run", 0 , tim->Menu_CB, tim);
	tim->menubar->add("DFS/Print Path", 0, tim->Menu_CB, tim);
	win->end();
	win->show();
	return(Fl::run());
}
